﻿<%@ Page Title="Criar Nova Conta" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="CriarConta.aspx.cs" Inherits="Financeiro.CriarConta" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Inserir Conta
    </h2>
    <br />
    <div>
        <div style="width: 300px; height: 30px; float:left; margin-right:50px;">
            <asp:Label ID="lblValor" runat="server" Text="Valor"></asp:Label>&nbsp;
            <asp:TextBox ID="txtValor" runat="server"></asp:TextBox>&nbsp;
            <asp:Label ID="errValor" runat="server" ForeColor="#FF0000" Text=""></asp:Label>
        </div>
        <div style="height: 30px; float:left;">
            <asp:Label ID="lblDataVencimento" runat="server" Text="Data Vencimento"></asp:Label>&nbsp;
            <asp:TextBox ID="txtDataVencimento" runat="server"></asp:TextBox>&nbsp;
            <asp:Label ID="errDataVencimento" runat="server" ForeColor="#FF0000" Text=""></asp:Label>
        </div>
        <div style="height: 30px; width: 100%; float:left">
            <asp:Label ID="lblDescricao" runat="server" Text="Descrição"></asp:Label>&nbsp;
            <asp:TextBox ID="txtDescricao" runat="server" MaxLength="50" Width="535px"></asp:TextBox>
        </div>
        <div style="width: 300px; height: 30px; float:left; margin-right:50px;">
            <asp:CheckBox ID="chkContaReceber" runat="server" AutoPostBack="True" OnCheckedChanged="chkContaReceber_CheckedChanged" />&nbsp;
            <asp:Label ID="lblContaReceber" runat="server" Text="Conta a Receber"></asp:Label>
        </div>
        <div style="height: 30px; float:left;">
            <asp:Label ID="lblAtendimento" runat="server" Text="ID Atendimento" Visible="false"></asp:Label>&nbsp;
            <asp:TextBox ID="txtAtendimento" runat="server" Visible="false" Width="152px"></asp:TextBox>&nbsp;
            <asp:Label ID="errAtendimento" runat="server" Visible="false" ForeColor="#FF0000" Text=""></asp:Label>
        </div>
        <div style="margin-top: 30px; width: 100%; float:left">
            <asp:Button ID="btnOK" runat="server" Text="OK" CausesValidation="true" 
                onclick="btnOK_Click"/>
            <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" 
                CausesValidation="false" onclick="btnCancelar_Click" />
        </div>
        <br />
    
    </div>
</asp:Content>